package com.carleasoft.mps.exam.business.questions.constants;

import com.carleasoft.mps.core.result.BaseResult;

public enum ExceptionQuestionsEnum implements BaseResult {
    TEMP_ERROR("7110000000","模板下载失败！"),
    PARSE_ERROR("7110000001","模板解析失败！"),
    ;

    private String code;

    private String message;

    ExceptionQuestionsEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String getCode(){
        return this.code;
    }

    @Override
    public String getMessage(){
        return this.message;
    }
}
